@extends("agent.layouts.main")
<style>
    .card-body .form-group {
        width: 28%;
    }
    @media screen and (max-width: 1024px) {
        .card-body .form-group {
            width: 100% !important;
        }
    }
    .show-item {
        top: 40px;
        width: 75%;
        right: 15px;
        z-index: 10;
        background: white;
        overflow: hidden;
        display: none;
    }
    .showMsg li {
        padding-bottom: 5px;
        cursor: pointer;
        padding: 10px 8px;
        margin: 2px 0;
    }
    .showMsg li:hover {
        background-color: #f2f2f2;
    }
    input::-webkit-input-placeholder { /* WebKit browsers */
        font-size: 13px;
    }
    input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
        font-size: 13px;
    }
    input:-ms-input-placeholder { /* Internet Explorer 10+ */
        font-size: 13px;
    }
</style>
@section("content")
<div class="container-fiuld p-3" id="app">
    <div class="card">
        <div class="card-body">
            <form class="layui-form mt-3">
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">公会ID:</label>
                    </div>
                    <div class="col-4 d-flex position-relative">
                        <input type="text" class="form-control rounded-0" name="gid" value="{{isset($ginfo->gid) ? $ginfo->gid : ''}}" readonly="readonly" />
                        <div class="position-absolute show-item">
                            <ul class="showMsg">
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">登录用户名:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="username" value="{{isset($ginfo->username) ? $ginfo->username : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">公会老板:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="boss_name" value="{{isset($ginfo->boss_name) ? $ginfo->boss_name : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">手机:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="mobile" value="{{isset($ginfo->mobile) ? $ginfo->mobile : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">座机:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="tel" value="{{isset($ginfo->tel) ? $ginfo->tel : ''}}" readonly="readonly" />
                    </div>
                    <span class="col-4 text-danger"></span>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">微信:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="wechat" value="{{isset($ginfo->wechat) ? $ginfo->wechat : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">QQ:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="qq" value="{{isset($ginfo->qq) ? $ginfo->qq : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">邮箱:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="email" value="{{isset($ginfo->email) ? $ginfo->email : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">指定客服:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="kefu" value="{{isset($ginfo->kefu) ? $ginfo->kefu : ''}}" readonly="readonly" />
                    </div>
                </div>
                <div class="row align-items-center mb-3">
                    <div class="col-2 text-right">
                        <label class="mb-0">地址:</label>
                    </div>
                    <div class="col-4">
                        <input type="text" class="form-control" name="address" value="{{isset($ginfo->address) ? $ginfo->address : ''}}" readonly="readonly" />
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
@endsection